# -*- python -*-
# Author: Charles Wang <charlesw123456@gmail.com>
# License: GPLv2

Import('env', 'lib', 'cocoexe')

targets = ['Scanner.h', 'Scanner.c', 'Parser.h', 'Parser.c']
env.Command(targets, ['Json.atg'], '"%s" -g $SOURCES' % str(cocoexe[0]))
env.Depends(targets, cocoexe)

env.Program('TestJson', ['main.c', 'Parser.c', 'Scanner.c', lib])
